//收藏或取消收藏
import request from "utils/request";

export function collection_changeCollection(data = {}) {
  return request({
    url: 'api/collection/changeCollection',
    method: 'post',
    data,
  })
}
//收藏列表
export function collection_getListByCon(params = {}, loading= true) {
  return request({
    url: 'api/collection/getListByCon',
    method: 'get',
    params,
    loading
  })
}
